package com.tjetc.service;

import com.github.pagehelper.PageInfo;
import com.tjetc.entity.Tribe;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


public interface ITribeService extends IService<Tribe> {

    PageInfo<Tribe> lists(Integer curPage, Integer pageSize, String name);

    boolean add(Tribe tribe, MultipartFile photo);

    boolean updates(Tribe tribe, MultipartFile photo, String[] paths);


    List<Tribe> list2(Integer uid);

}
